home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Bus / D-E / Eq.Plotter.sit / Equation Plotter / stack_-1.xml < prev   
Encoding:
Extensible Markup Language  |  1992-02-12  |  7.8 KB  |  86 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>34</cardCount>
  7.     <cardID>3685</cardID>
  8.     <listID>2070</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><true /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on arrowkey direction -- do not change the order or amount of lines
  17.  
  18. end arrowkey          -- as these scripts are changed from the buttons
  19. -- lock and edit
  20. on commandkeydown whichkey
  21. choose browse tool
  22. --pass commandkeydown
  23. end commandkeydown
  24.  
  25. on controlKey whichkey
  26.  
  27. end controlKey
  28.  
  29. on functionKey whichkey
  30.  
  31. end functionKey
  32.  
  33.  
  34.  
  35. on openstack
  36. global scale, scalename,quadName,overlay,custom
  37. hide menubar
  38. set userlevel to 3
  39. repeat with x = 1 to 13
  40. set the hilite of card button x to false
  41. end repeat
  42. put "false" into custom
  43. repeat with x = 3 to 10
  44. hide card field x
  45. end repeat
  46. put "false" into overlay
  47. send mouseup to card button "all quadrants" of card "setup"
  48. send mouseup to card button "64 dots/unit" of card "setup"
  49. select text of card field "function"
  50. end openstack
  51.  
  52.  
  53. on cardPrint
  54. hide card button "Erase"
  55. hide card button "overlay"
  56. hide card button "print"
  57. hide menubar
  58. doMenu "Print card"
  59. show card button "Erase"
  60. show card button "overlay"
  61. show card button "print"
  62. end cardPrint
  63.  
  64. on EraseGraph whichcard
  65. global overlay
  66. put "false" into overlay
  67. lock screen
  68. show card button "print"
  69. show card button "overlay"
  70. hide background field "clip directions"
  71. hide background button "clipping"
  72. choose pencil tool
  73. click at 100,100
  74. choose select tool
  75. domenu "select all"
  76. domenu "cut picture"
  77. choose the browse tool
  78. unlock screen
  79. go to card whichcard
  80. end EraseGraph
  81.  
  82. on overlay
  83. global overlay
  84. put "true" into overlay
  85. go to card "setup"
  86.  
  87. end overlay
  88.  
  89. on hideCstmFields
  90. global custom
  91. repeat with x = 2 to 10
  92. hide card field x
  93. end repeat
  94. if custom = "true" then send mouseup to card button "64 dots/unit"
  95. put "false" into custom
  96. end hideCstmFields
  97.  
  98. On doZoomIn
  99. global xb,xe,yb,ye,orgx,scalex,orgy,scaley,custom
  100. hide field "clip directions"
  101. show card button "print"
  102. show card button "overlay"
  103. show card button "zoom in"
  104. put the left of background button "clipping" into ab
  105. put the right of background button "clipping" into ae
  106. put the bottom of background button "clipping" into bb
  107. put the top of background button "clipping" into be
  108. put ((ab-orgx)/scalex) into card field "xb" of card "setup"
  109. put ((ae-orgx)/scalex) into card field "xe" of card "setup"
  110. put ((orgy-bb)/scaley) into card field "yb" of card "setup"
  111. put ((orgy-be)/scaley) into card field "ye" of card "setup"
  112. hide background button "clipping"
  113. erasegraph "custom"
  114. put "true" into custom
  115. end doZoomIn
  116.  
  117. on zoomInButton
  118. show background button "clipping"
  119. hide card button "Zoom In"
  120. hide card button "print"
  121. hide card button "overlay"
  122. show background field "clip directions"
  123. end zoomInButton
  124. </script>
  125.     <background id="2741" file="background_2741.xml" name="" />
  126.     <background id="2906" file="background_2906.xml" name="" />
  127.     <background id="4516" file="background_4516.xml" name="" />
  128.     <background id="5727" file="background_5727.xml" name="" />
  129.     <background id="6508" file="background_6508.xml" name="" />
  130.     <background id="6920" file="background_6920.xml" name="" />
  131.     <background id="7591" file="background_7591.xml" name="" />
  132.     <background id="8368" file="background_8368.xml" name="" />
  133.     <background id="9020" file="background_9020.xml" name="" />
  134.     <background id="10039" file="background_10039.xml" name="" />
  135.     <background id="11925" file="background_11925.xml" name="" />
  136.     <background id="12770" file="background_12770.xml" name="" />
  137.     <background id="13368" file="background_13368.xml" name="" />
  138.     <background id="14094" file="background_14094.xml" name="" />
  139.     <background id="15258" file="background_15258.xml" name="" />
  140.     <background id="16176" file="background_16176.xml" name="" />
  141.     <background id="17313" file="background_17313.xml" name="" />
  142.     <background id="18414" file="background_18414.xml" name="" />
  143.     <background id="19369" file="background_19369.xml" name="" />
  144.     <background id="20233" file="background_20233.xml" name="" />
  145.     <background id="21307" file="background_21307.xml" name="" />
  146.     <background id="22506" file="background_22506.xml" name="" />
  147.     <background id="23179" file="background_23179.xml" name="" />
  148.     <background id="24265" file="background_24265.xml" name="" />
  149.     <background id="25298" file="background_25298.xml" name="" />
  150.     <background id="26229" file="background_26229.xml" name="" />
  151.     <background id="27605" file="background_27605.xml" name="" />
  152.     <background id="28326" file="background_28326.xml" name="" />
  153.     <background id="29375" file="background_29375.xml" name="" />
  154.     <background id="30253" file="background_30253.xml" name="" />
  155.     <background id="31419" file="background_31419.xml" name="" />
  156.     <background id="32225" file="background_32225.xml" name="" />
  157.     <background id="33405" file="background_33405.xml" name="" />
  158.     <background id="34210" file="background_34210.xml" name="" />
  159.     <card id="3685" file="card_3685.xml" marked="false" name="setup" owner="2741" />
  160.     <card id="4724" file="card_4724.xml" marked="false" name="All64" owner="4516" />
  161.     <card id="5304" file="card_5304.xml" marked="false" name="All32" owner="2906" />
  162.     <card id="5898" file="card_5898.xml" marked="false" name="All16" owner="5727" />
  163.     <card id="6833" file="card_6833.xml" marked="false" name="All8" owner="6508" />
  164.     <card id="7715" file="card_7715.xml" marked="false" name="1&464" owner="7591" />
  165.     <card id="8469" file="card_8469.xml" marked="false" name="1&432" owner="8368" />
  166.     <card id="10371" file="card_10371.xml" marked="false" name="1&416" owner="10039" />
  167.     <card id="11344" file="card_11344.xml" marked="false" name="1&48" owner="6920" />
  168.     <card id="12212" file="card_12212.xml" marked="false" name="2&364" owner="11925" />
  169.     <card id="13009" file="card_13009.xml" marked="false" name="2&332" owner="12770" />
  170.     <card id="13796" file="card_13796.xml" marked="false" name="2&316" owner="13368" />
  171.     <card id="14511" file="card_14511.xml" marked="false" name="2&38" owner="14094" />
  172.     <card id="15538" file="card_15538.xml" marked="false" name="3&464" owner="15258" />
  173.     <card id="16463" file="card_16463.xml" marked="false" name="3&432" owner="16176" />
  174.     <card id="17416" file="card_17416.xml" marked="false" name="3&416" owner="17313" />
  175.     <card id="18437" file="card_18437.xml" marked="false" name="3&48" owner="18414" />
  176.     <card id="19490" file="card_19490.xml" marked="false" name="Quad1-64" owner="19369" />
  177.     <card id="20508" file="card_20508.xml" marked="false" name="Quad1-32" owner="20233" />
  178.     <card id="21675" file="card_21675.xml" marked="false" name="Quad1-16" owner="21307" />
  179.     <card id="22718" file="card_22718.xml" marked="false" name="quad1-8" owner="22506" />
  180.     <card id="23498" file="card_23498.xml" marked="false" name="Quad2-64" owner="23179" />
  181.     <card id="24465" file="card_24465.xml" marked="false" name="QUAD2-32" owner="24265" />
  182.     <card id="25370" file="card_25370.xml" marked="false" name="Quad2-16" owner="25298" />
  183.     <card id="26447" file="card_26447.xml" marked="false" name="Quad2-8" owner="26229" />
  184.     <card id="27807" file="card_27807.xml" marked="false" name="Quad3-64" owner="27605" />
  185.     <card id="28500" file="card_28500.xml" marked="false" name="Quad3-32" owner="28326" />
  186.     <card id="29549" file="card_29549.xml" marked="false" name="Quad3-16" owner="29375" />
  187.     <card id="30582" file="card_30582.xml" marked="false" name="Quad3-8" owner="30253" />
  188.     <card id="31631" file="card_31631.xml" marked="false" name="Quad4-64" owner="31419" />
  189.     <card id="32559" file="card_32559.xml" marked="false" name="Quad4-32" owner="32225" />
  190.     <card id="33751" file="card_33751.xml" marked="false" name="Quad4-16" owner="33405" />
  191.     <card id="34490" file="card_34490.xml" marked="false" name="Quad4-8" owner="34210" />
  192.     <card id="9270" file="card_9270.xml" marked="false" name="Custom" owner="9020" />
  193. </stack>
  194.